/* Copyright (c) 2004-2024 Peigen.info. All rights reserved. */

package info.peigen.hotpot.component.upload.config;

import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;
import org.noear.solon.annotation.Component;
import org.noear.solon.annotation.Inject;

import java.io.Serializable;

/**
 * <b>(UploadProperties)</b>
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2022/11/10
 */
@Data
@Component
@FieldDefaults(level = AccessLevel.PRIVATE)
public class UploadProperties implements Serializable {
    @Inject("${hotpot.component.upload.max-request-size:10MB}")
    String maxRequestSize;
    @Inject("${hotpot.component.upload.max-file-size:10MB}")
    String maxFileSize;
    @Inject("${hotpot.component.upload.upload-path:/var/static.rearch.cn/upload}")
    String uploadPath;
    @Inject("${hotpot.component.upload.find-path:https://static.rearch.cn/upload}")
    String findPath;
}